Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pkg/otlp/metrics] Make NewTranslator take a component.TelemetrySettings instead of a logger #218

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Dec 12, 2023

What does this PR do?

Change signature of NewTranslator to accept a component.TelemetrySettings struct instead of a zap.Logger.

Motivation

I want to create a counter and thus I need a MeterProvider.

@mx-psi mx-psi added the breaking-change This PR introduces a Go API breaking change label Dec 12, 2023
@mx-psi mx-psi marked this pull request as ready for review December 12, 2023 12:11
@mx-psi mx-psi requested a review from a team as a code owner December 12, 2023 12:11
@mx-psi mx-psi requested a review from mackjmr December 12, 2023 12:11
@mx-psi mx-psi merged commit 3086b1d into main Dec 12, 2023
7 checks passed
@mx-psi mx-psi deleted the mx-psi/counter-hostname branch December 12, 2023 13:20
mx-psi added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Dec 13, 2023
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

Bump opentelemetry-mapping-go modules to v0.9.0. This includes:

- DataDog/opentelemetry-mapping-go/pull/218 and
DataDog/opentelemetry-mapping-go/pull/220
- DataDog/opentelemetry-mapping-go/pull/219
- DataDog/opentelemetry-mapping-go/pull/213
- DataDog/opentelemetry-mapping-go/pull/202
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2024
…9785)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

Bump opentelemetry-mapping-go modules to v0.9.0. This includes:

- DataDog/opentelemetry-mapping-go/pull/218 and
DataDog/opentelemetry-mapping-go/pull/220
- DataDog/opentelemetry-mapping-go/pull/219
- DataDog/opentelemetry-mapping-go/pull/213
- DataDog/opentelemetry-mapping-go/pull/202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This PR introduces a Go API breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants